package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.model.pojo.user.SysUserThird;

/**
 * @Author 蔡徐坤
 * @Date 2025/8/15 15:20
 * @Description: TODO
 */
public interface SysUserThirdService extends IService<SysUserThird> {
    /**
     *  根据第三方平台标识和openId查询用户信息
     */
    SysUserThird findByProviderAndOpenId(String provider, String openId);

    /**
     * 绑定第三方平台
     */
    void bindThirdParty(Long userId, String provider, String openId, String extraJson);
}
